// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import { Button, Select, Row, Option, DatePicker } from 'element-ui'
import App from './App'
import router from './router'
import store from './store'
import http from './libs/axios'
import './mock/mock.js'
import Api from './api/index'
import i18n from './locale/index'
import './assets/css/minireset.css'
Vue.use(Button).use(Select).use(Row).use(Option).use(DatePicker)
Vue.prototype.$ELEMENT = { size: 'small', zIndex: 3000 };

Vue.prototype.$http = http;
Vue.prototype.$api = Api;
new Vue({
  el: '#app',
  i18n,
  router,
  store,
  components: { App },
  template: '<App/>'
})
